<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/1/27
 * Time: 23:20
 */

namespace app\common\model;


use think\Model;
use org\UUID;
class Robot extends Model
{
    protected $insert = ['create_time', 'user_uuid'];

    protected function setCreateTimeAttr()
    {
        return date('Y-m-d H:i:s');
    }

    protected function setUserUuidAttr()
    {
        return UUID::v4();
    }

}